/// path : "http://jimonik.vaiwan.cn:8081/assets/images/1654166667.png"
/// filename : "1652953749370675.jpeg"
/// id : "3"

class FileBean {
  FileBean({
    String? path,
    String? filename,
    String? id,
  }) {
    _path = path;
    _filename = filename;
    _id = id;
  }

  FileBean.fromJson(dynamic json) {
    _path = json['path'];
    _filename = json['filename'];
    _id = json['id'];
  }
  String? _path;
  String? _filename;
  String? _id;
  FileBean copyWith({
    String? path,
    String? filename,
    String? id,
  }) =>
      FileBean(
        path: path ?? _path,
        filename: filename ?? _filename,
        id: id ?? _id,
      );
  String? get path => _path;
  String? get filename => _filename;
  String? get id => _id;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['path'] = _path;
    map['filename'] = _filename;
    map['id'] = _id;
    return map;
  }
}
